package com.cancan.cloud.shop.service.impl;

import com.cancan.cloud.shop.domain.Product;
import com.cancan.cloud.shop.feign.RpcService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class RpcServiceImpl implements RpcService {
    /**
     * 查询test
     *
     * @param id
     * @return
     */
    @Override
    public Product query(Long id) {
        log.info("出问题，熔断了啦");
        Product product = new Product();
        return product;
    }
}